<?php

namespace app\models\factory;

use think\facade\Db;
use think\Model;

class Admin extends Model
{
    protected $table = 'xd_system_store_staff';
    protected $pk = 'id';

    public function isTokenExpired(){
        return ($this->expired < time()) ? 1 : 0;
    }


}
